
<div class="dashboard-item">
    <?= $this->element('calendar') ?>
</div>

<div class="dashboard-item">
    <h1>Kampanje koje su u toku</h1>
    <div id="active-campaigns" class="loading">
    </div>
    <script type="text/javascript">
        $('#active-campaigns').load('/app/active_campaigns', null, function(){
            $(this).removeClass('loading');
        });
    </script>
</div>

<div class="dashboard-item">
    <h1>Kampanje koje ističu ovog meseca</h1>
    <div id="expiring-campaigns" class="loading">
    </div>
    <script type="text/javascript">
        $('#expiring-campaigns').load('/app/expiring_campaigns', null, function(){
            $(this).removeClass('loading');
        });
    </script>
</div>
